package com.example.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.Person;
import org.apache.ibatis.annotations.Select;

public interface PersonDao extends BaseMapper<Person> {


    void updatePerson(Person person);

    @Select("select * from person where id=#{id}")
    Person findById(int id);

    void add(Person person);

}
